@if(!empty($pageShow['array']))

    <ul>

        <span>共 {{$pageShow['count']}} 条</span>

        <!-- 显示首页 -->
        @if(isset($pageShow['array']['first']['src']))
            <li>
                <a href="{{$pageShow['array']['first']['src']}}">«</a>
            </li>
        @endif


    <!-- 显示中间的连续几页 -->
        @foreach($pageShow['array'] as $key=>$val)
            @if(is_numeric($key))
                @if($pageShow['curr_page']==$val['title'])
                    <li>
                        <a class="active" href="{{$val['src']}}" data-page="{{$val['title']}}">
                            {{$val['title']}}
                        </a>
                    </li>
                @else
                    <li>
                        <a href="{{$val['src']}}" data-page="{{$val['title']}}">
                            {{$val['title']}}
                        </a>
                    </li>
                @endif
            @endif
        @endforeach

    <!--上一页与下一页-->
        @if(isset($pageShow['array']['up']['src']))
            <li>
                <a href="{{$pageShow['array']['up']['src']}}">❮</a>
            </li>
        @else
        <!-- <button disabled="disabled">❮</button> -->
        @endif

        @if(isset($pageShow['array']['next']['src']))
            <li>
                <a href="{{$pageShow['array']['next']['src']}}">❯</a>
            </li>
        @else
        <!-- <button disabled="disabled">❯</button> -->
        @endif

    <!-- 显示最后一页 -->
        @if(isset($pageShow['array']['last']['src']))
            <li>
                <a href="{{$pageShow['array']['last']['src']}}">»</a>
            </li>
        @endif

        <ul>
@endif